#pragma once

#include "Define.h"

BOOL GetThreadIdByProcessId(IN UINT32 ProcessId, OUT PUINT32 ThreadId);

BOOL GetLoadLibraryAddressInTargetProcessImportTable(IN UINT32 ProcessId, OUT PUINT_PTR FunctionAddress);

BOOL GetPebByProcessId(IN UINT32 ProcessId, OUT PPEB Peb);

BOOL InjectByThreadContext(IN UINT32 ProcessId, IN UINT32 ThreadId, WCHAR* DllFullPath);

BOOL InjectByWThreadContext(IN UINT32 ProcessId, CHAR* DllFullPath);
